using System;
using System.Collections.Generic;
using System.Text;

namespace XinBang.Entity
{
    public class Task:IDomainModel
    {
        private int tasid;

        public virtual int Tasid
        {
            get { return tasid; }
            set { tasid = value; }
        }
        private DateTime begintime;

        public virtual DateTime BeginTime
        {
            get { return begintime; }
            set { begintime = value; }
        }
        private Nullable<DateTime> endtime;

        public virtual Nullable<DateTime> EndTime
        {
            get { return endtime; }
            set { endtime = value; }
        }
    }

    public class SendGoodsTask : Task
    {
        private Order entity;

        public virtual Order OrderID
        {
            get { return entity; }
            set { entity = value; }
        }
    }
}
